//
//  LoadingScreen.h
//  TowerDefence
//
//  Created by K3 on 5/25/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "GameLayer.h"
#import "cocos2d.h"
#import "Define.h"

enum {
    TAG_LEFT_DOOR_SPRITE = 0,
    TAG_RIGHT_DOOR_SPRITE = 1,
    TAG_LOADING_BAR = 4
};

@interface LoadingScreen : GameLayer {
    int gameScreenEnum;
    NSMutableArray *plistSpriteArr;
}

-(id)initWith:(iCoreGUIController *)_mainGUIController withGameScreenEnumNumber:(int)_gameScreenEnum plistSpriteArr:(NSMutableArray *)_plistSpriteArr;
-(void)loadResource;
-(void)startLoadingAnimation;
-(void)stopLoadingAnimation;
-(void)stopLoading;
-(void)showLoadingBar;
-(void)startLoadingBarAnimation:(ccTime)dt;
-(void)loadDataProcess;

@end
